#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"). You may
# only use this file in accordance with the terms of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#

#
# Copyright 2014 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
#

include ../../make-rules/shared-macros.mk

COMPONENT_NAME=		ts
COMPONENT_VERSION=	0.7.4
COMPONENT_PROJECT_URL=	http://vicerveza.homeunix.net/~viric/soft/ts/
COMPONENT_FMRI=		utility/ts
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH=	\
	sha256:1a638f9dc5a96a764dde7b8af04c2dbb88d8cb0326139e9b231b8091804a5910
COMPONENT_ARCHIVE_URL=	http://vicerveza.homeunix.net/~viric/soft/ts/$(COMPONENT_ARCHIVE)
COMPONENT_LICENSE=	GPLv2+
COMPONENT_LICENSE_FILE=	$(COMPONENT_NAME).license
COMPONENT_SUMMARY=	task spooler is a Unix batch system where the tasks spooled run one after the other

include ../../make-rules/prep.mk
include ../../make-rules/justmake.mk
include ../../make-rules/ips.mk

COMPONENT_BUILD_ENV  = CC=$(CC)
COMPONENT_BUILD_ENV += LDFLAGS="-lsocket -lnsl"
COMPONENT_INSTALL_ARGS=PREFIX=$(PROTO_DIR)/usr

build:		$(BUILD_32)

install:	$(INSTALL_32)

BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)

include ../../make-rules/depend.mk
